package com.lgy.dao;

import com.lgy.pojo.CarOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarorderDao {
    int deleteByPrimaryKey(Integer orderId);

    int insert(CarOrder record);

    int insertSelective(CarOrder record);

    CarOrder selectByPrimaryKey(Integer orderId);

    int updateByPrimaryKeySelective(CarOrder record);

    int updateByPrimaryKey(CarOrder record);

    List<CarOrder> findOrderListByCompanyId(Integer companyId);

    int updateOrderType(@Param("orderId") Integer orderId);
}